#ifndef SOCKETCOMM
#define SOCKETCOMM

class SocketComm
{
    private:
        int nodes[2];
        int socket[2];

    public:
        static const int node1End = 0;
        static const int node2End = 1;

        SocketComm();
        SocketComm(int, int);
        int* getPair();
        int* getSocket();
        void closeSockets();
        void closeSocket(int);
};
#endif
